package per.yuan.openfeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "nacos-provider-demo")
public interface ServiceDemo {
    @GetMapping("/echo1")
    public String echo1();

    @GetMapping("/echo2")
    public String echo2();

    @GetMapping("/echo3")
    public String echo3();

    @GetMapping("/echo")
    public String echo();
}